<?php
namespace app\middleware;

class Header
{
	public function handle($request, \Closure $next)
	{
		header('content:application/json;chartset=uft-8');
		header('Access-Control-Allow-Origin: *');
		return $next($request);
	}
}